package org.jeecg.modules.order.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 订单明细表
 * @Author: jeecg-boot
 * @Date:   2020-08-07
 * @Version: V1.0
 */
@ApiModel(value="rs_order对象", description="订单表")
@Data
@TableName("rs_order_detail")
public class RsOrderDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**订单id*/
	@ApiModelProperty(value = "订单id")
	private String orderId;
	/**商品id*/
	@Excel(name = "商品id", width = 15)
	@ApiModelProperty(value = "商品id")
	private String productId;
	/**商品颜色*/
	@Excel(name = "商品颜色", width = 15)
	@ApiModelProperty(value = "商品颜色")
	private String productColor;
	/**日文颜色*/
	@Excel(name = "日文颜色", width = 15)
	@ApiModelProperty(value = "日文颜色")
	private String productOtherColor;
	/**尺码*/
	@Excel(name = "尺码", width = 15)
	@ApiModelProperty(value = "尺码")
	private String productSize;
	/**商品型号*/
	@Excel(name = "商品型号", width = 15)
	@ApiModelProperty(value = "商品型号")
	private String productSpec;
	/**商品规格*/
	@Excel(name = "商品规格", width = 15)
	@ApiModelProperty(value = "商品规格")
	private String spec;
	/**日文规格*/
	@Excel(name = "日文规格", width = 15)
	@ApiModelProperty(value = "日文规格")
	private String otherSpec;
	/**单价*/
	@Excel(name = "单价", width = 15)
	@ApiModelProperty(value = "单价")
	private java.math.BigDecimal unitPrice;
	/**数量*/
	@Excel(name = "数量", width = 15)
	@ApiModelProperty(value = "数量")
	private Integer num;
	/**总价*/
	@Excel(name = "总价", width = 15)
	@ApiModelProperty(value = "总价")
	private java.math.BigDecimal totalMoney;
}
